package com.qdu.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author ellery2018
 * @since 2022-03-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Problem对象", description="")
public class Problem implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "题目 ID")
    private Integer id;

    @ApiModelProperty(value = "题目内容")
    private String content;

    @ApiModelProperty(value = "选项A")
    @TableField("optionA")
    private String optionA;

    @ApiModelProperty(value = "选项B")
    @TableField("optionB")
    private String optionB;

    @ApiModelProperty(value = "选项C")
    @TableField("optionC")
    private String optionC;

    @ApiModelProperty(value = "选项D")
    @TableField("optionD")
    private String optionD;

    @ApiModelProperty(value = "正确答案")
    @TableField("correctAnswer")
    private String correctAnswer;


}
